package dao;

import java.sql.SQLException;

/**
 * Create By IntelliJ IDEA
 *
 * @Author: jsonor
 * @Create-Time: 2017/9/25 15:56
 * @Description: 提供服务
 */
public class DaoService {

  private LoginInfoDao dao = new LoginInfoDao();

  public int getCount() throws SQLException {
    return dao.getCountById(1);
  }

  public void saveCount(int count) throws SQLException {
    dao.saveCountById(1, count);
  }
}
